package com.orcsystem.product.feign;

import com.baomidou.mybatisplus.extension.api.R;
import com.orcsystem.product.entity.SpuInfoEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @CreateData: 2020/10/21-10:49
 * Author   AiHongSen
 * 方法说明
 * SL 查询、DL 删除、UP 更新、IN 新增方法
 * SpuFeignService->作用:
 */
@FeignClient("orcsystem-coupon") // 调用远程服务的名称
public interface CouponFeignService {
    @PostMapping("/coupon/spubounds/save") // 填写远程调用的完整路径
    R saveSpuBounds(@RequestBody SpuInfoEntity spuInfoEntity);
}
